package com.fz.entity.funds;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author xmj
 * @since 2021-04-07
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("test_funds")
@ApiModel(value="Funds对象", description="")
public class Funds extends Model<Funds> {

    private static final long serialVersionUID = 1L;

    private Integer id;

    private BigDecimal amount;

    private String name;


    @Override
    protected Serializable pkVal() {
        return this.id;
    }

}
